import {
  request,
  request2
} from 'network/request'


export function getHomeMultidata() {
  return request({
    url: "/home/multidata"
  })
}
//  首页商品
export function getHomeGoods(type, page) {
  return request2({
    url: "/home/data",
    // http://152.136.185.210:7878/api/m5/home/data?type=pop&page=1
    params: {
      type,
      page
    }
  })
}
